﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace Negro
{
    public class EntradaBusiness
    {
        public ProductosDTO consulta(string clave)
        {
            EntradaDAO dao = new EntradaDAO();

            ProductosDTO bean = dao.consulta(clave);

            return bean;
        }

        public void guardar(List<ProductosDTO> list)
        {
            EntradaDAO dao = new EntradaDAO();

            dao.guardar( list );
        }
    }
}